#include "Camera.h"

CCamera* CCamera::_instance = 0;

CCamera* CCamera::GetInstance()
{
	if (_instance == NULL)
		_instance = new CCamera();

	return _instance;
}

CCamera* CCamera::SetWidth(int width)
{
	_width = width;
	return _instance;
}

CCamera* CCamera::SetHeight(int height)
{
	_height = height;
	return _instance;
}

CCamera* CCamera::SetTop(int top)
{
	_top = top;
	return _instance;
}

CCamera* CCamera::SetLeft(int left)
{
	_left = left;
	return _instance;
}

int CCamera::GetWidth()
{
	return _width;
}

int CCamera::GetHeight()
{
	return _height;
}

int CCamera::GetTop()
{
	return _top;
}

int CCamera::GetLeft()
{
	return _left;
}

void CCamera::Move(CCamera* camera, int deltaX, int deltaY)
{

}